#ifdef WIN32
#pragma once
#include <Windows.h>
#include <string>
#include <vector>
using namespace std;
typedef void (*ServicesMethod)(int argc,char** argv);
string InstallService(string name,string epath,vector<string> args);
string UnInstallService(string name);
void SetServicesInitMethod(ServicesMethod sim);
void SetServicesMainMethod(ServicesMethod smm);
void SetServicesStopMethod(ServicesMethod stm);
int RunService(string name,int argc,char** argv);

#endif